Field-mounted control unit

ABSTRACT

A smart field-mounted control unit, for controlling a process, receives signals and sends a command output over a two-wire circuit which powers the control unit. An input section receives the signals, which can be instructions representative of commands or instruction sets, process variables sensed by external control units or setpoints representative of a desired process state. The instructions are representative of a control requirement of the process and adjust a controlling section in the control unit to generate the command output in conformance with the control requirement. The command output can be a function of the difference between the process setpoint and a process variable, or a function of a linear combination of a process variable and its calculated time integral and time derivative functions. A sensing section in the control unit can sense and scale a process variable for generating the command output as well. The control unit can include a regulator section, controlled by the command output, which regulates application of a mechanical, hydraulic, pneumatic or electromagnetic force applied to the process.

This is a divisional application of Ser. No. 420,434 filed Apr. 10, 1996, now U.S. Pat. No. 5,485,400, issued Jan. 16, 1996, which was a continuation of application Ser. No. 08/264,785, filed Jun. 23, 1994, now abandoned, which was a divisional application of Ser. No. 086,167 filed Jul. 1, 1993 now U.S. Pat. No. 5,333,114, issued Jul. 26, 1994, which was a continuation application of Ser. No. 08/002,257, filed Jan. 8, 1993, now abandoned, which was a continuation application of Ser. No. 07/785,168, filed Nov. 13, 1991, now abandoned, which was a continuation application of Ser. No. 07/416,180, filed Oct. 2, 1989 now abandoned.

FIELD OF THE INVENTION

The present invention relates to a transmitter communicating over a two-wire circuit and providing an output representative of a process variable produced by a process.

BACKGROUND OF THE INVENTION

Transmitters measure process variables representative of a process controlled by remote devices and communicate transmitter outputs representing the process variables to controllers over two wire circuits. The transmitters are typically mounted in a field area where current and voltage levels are limited to provide intrinsic safety. The transmitter output is scaled by user definable parameters such as span, zero and damping. Span and zero adjustments allow the user to reference the measurement range extremes of the transmitter to specific transmitter output levels, thereby setting the range of desired outputs. Damping affects the response time of the transmitter to changes in the process variable. The scaled transmitter output is sent over the two wire circuit to the controller.

Controllers, typically located in a control room, combine the transmitter output with signals representing other process variables to generate command output signals. Command output signals are typically sent over a separate pair of wires to remote devices, such as a valve, which control the process according to the command output. In certain applications, controllers select the most appropriate set of instructions for process control from multiple sets of instructions, depending on the process to be controlled and the accuracy required.

In other applications, controllers sense several transmitter outputs representing process variables to determine the command output for the remote device. Typically, a separate transmitter senses each process variable. The transmitters send a signal representative of the sensed process variable to the controller over a two wire circuit, the controller determines the command output and controls the remote device, such as a valve position, pump speed, thermostat setting, etc.

One limitation of the prior art arrangement is that the transmitter, remote device and controller, components in the feedback loop, must all operate continuously for control of the process. Another limitation is the amount of interconnecting cabling connecting the feedback loop components. The controller is typically far from the process in a control room, while the remote device and the transmitter are usually in the field and physically proximate to each other and the process. Installation and maintenance complexity is another limitation, since each cable may require installation of an intrinsic safety barrier device at the interface between the control room and the field devices. In cases where multiple process variables are used by the controller, cabling is required between each transmitter and the controller. Feedback loop reliability is a fourth limitation, since failure of one of several interconnections adversely affects process control.

To reduce these limitations, a process variable transmitter provides a control output directly, thereby bypassing the controller itself. Outputs representative of other process variables are communicated to the transmitter rather than the controller. The transmitter can still communicate with the controller over a common two-wire link, but the link can be broken without interrupting control. Process control reliability and response time is enhanced and control is realized with fewer communication exchanges while installation complexity, maintenance complexity and cost decreases.

SUMMARY OF THE INVENTION

The present invention relates to a smart field-mounted control unit providing a command output for controlling a process and communicating over a two-wire circuit which powers the unit. The control unit includes an input section which receives process signals representative of more than one process variable on the two wire circuit, storing values of the process signals as appropriate. The unit also includes a controlling section coupled to the input section for providing the command output and storing its value. The command output is a function of the stored process signals. A stored previous value of the command output may also be used in providing the command output.

One embodiment of the invention includes an energy conversion section coupled to the controlling section for receiving pneumatic, hydraulic or electromagnetic energy and for regulating such energy applied to the process as a function of the command output.

Another embodiment has a sensing device, coupled to the controlling section, which senses and scales a first process variable. In such case, the process signals for determining the command output include the scaled first process variable.

In these embodiments, the process signals received from the two wire circuit can determine operation of the controlling means in producing a command output. Alternatively, the process signals comprise a process variable reported to the control unit over the two wire circuit or a set of instructions sent over the two wire circuit for determining the command output. When the process signals comprise a setpoint representative of a desired state of the process, the controlling section can generate the command output as a function of the difference between the setpoint and the process variable. As appropriate for the process to be controlled, the controlling section uses an equation including a linear combination of the process variable and the time integral of the process variable to determine the command output. As the application requires, the equation for determining the command output includes the time-rate-of-change of the process variable.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a diagram of a part of a process control system having a control unit according to the present invention, a supervisory master unit and a master controller;

FIG. 2 shows a block diagram of a first preferred embodiment of a control unit and a remote device;

FIG. 3 shows a block diagram of a second preferred embodiment of a control unit;

FIG. 4 shows a block diagram of a third preferred embodiment of a control unit coupled to a remote device; and

FIG. 5 shows a block diagram of a fourth preferred embodiment of a control unit.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows an industrial process control application as in a petrochemical tank farm 1, where a fluid 2 flows in a pipe network 4. A master controller 6 commands a supervisory master unit 10 via a cabling 12. Supervisory master unit 10 communicates over a two wire circuit 18 with a feedback loop 14, which controls flow in pipe segment 20. Feedback loop 14 comprises a control unit 22 and a two terminal remote device 26, which controls fluid flow, Q, from a tank 30 into pipe network 4. The capacity of tank farm 1 can be expanded by additional feedback loops, located at pipe segments 20A, 20B, 20C and 20D and controlled by master supervisor 10. An even larger expansion requires even more additional feedback loops and additional supervisory master units. Regardless of capacity, tank farm 1 is divided into a field area 34 requiring intrinsically safe equipment and a control room area, indicated by block 36. An intrinsically safe barrier device 16, which limits voltage and current to specified levels, is mounted on cable 12 at the interface between control room 36 and field 34. Each additional cable between control room 36 and field 34 requires installation of such a barrier device.

The flow, Q, in pipe segment 20 is given as:

    Q=k{p*DP}.sup.0.5                                          Eq. 1

where Q is the mass flow rate, p is the density of fluid 2, DP is the differential pressure across an orifice in pipe segment 20 and k is a constant of proportionality. This calculation of flow requires one process variable representative of differential pressure.

However, when p varies as is typical in petrochemicals, a more accurate assessment of the flow, Q, is given as:

    Q=k'{AP*DP/AT}.sup.0.5                                     Eq. 2

where AP is the absolute pressure in pipe segment 20, K is another constant of proportionality and F.sub., K' is another constant of proportionality. AT is the absolute temperature of fluid 2. Two additional process variables, absolute temperature and absolute pressure are required.

FIG. 2 shows a first preferred embodiment of "smart" control unit 22, communicating with supervisory master unit 10 over two wire circuit 18 and comprising input means 50 and controlling means 52. "Smart" means that a computing capability is in the control unit, such as is performed by a microprocessor. Control units are connected in two wire circuits in a variety of ways. Each two wire circuit is coupled to a power source powering instruments on the circuit. In a first configuration, the supervisory master unit includes the power source which powers a control unit. Additional control units may be powered by the supervisory master unit and are connected in parallel across the power source. In a second configuration, the supervisory master unit includes the power source which powers at least one control unit and at least one remote device, connected in series across the power source. In a third configuration, a control unit used in the first configuration powers one or more remote devices, control units or both. The number of instruments receiving power is typically limited by available current, but alternative power sources are sometimes available for remote devices. The remote device may be connected to the control unit by a pair of wires, or alternatively, by a second two wire circuit.

Control unit 22 is connected in a two wire circuit 18 as in the first configuration described above, but may be connected as described above in other configurations. The input means 50 has receiving means 54 coupled to two wire circuit 18 for receiving process signals and storing means 56 coupled to receiving means 54 for storing process signals 55. Controlling means 52 receives process signals 55 from receiving means 54 and storing means 56 of input means 50, as desired. A storage means 53 receives command output 58 and outputs a previous command output 60. Command output 58 is provided by block 52a as a function of process signals 55 and previous command output 60 and coupled to cable 57, which may be part of a second two wire circuit depending on the configuration. The command output 58 can be provided in some applications as a function of process signals 55 alone. A control unit such as this is used in a feedforward control application, where no feedback is used to generate the command output. In either application, remote device 26 is a transducer such as one which uses a current magnitude to regulate a pressure and is known in the process control industry as a current to pressure (I/P) converter. In a cascaded control application, however, the command output of one control unit is used as a process signal representative of a setpoint for another control unit. Accordingly, in a cascaded control application, remote device 26 is another control unit 22.

Remote device 26 applies an energy source 59 of pneumatic air to the process as a function of the command output 58. Process signals used in generating command output 58 comprise setpoints representative of a desired process state, process variables produced by the process, commands directing the operation of controlling means 52, instruction sets in part or in whole for operation of controlling means 52, coefficients of terms for controlling means 52 and requests for status information about control unit 22 from supervisory master unit 10. Different types of process signals are sent to control unit 22 depending on control unit 22 and the process control application.

A first type of process signal is the process variable. Process variables are categorized as primary process variables when they are directly representative of the variable to be controlled by the feedback loop. The primary process variable for control unit 22 is flow. Secondary process variables affect the primary process variable and are typically used to more accurately assess the primary process variable. Such compensation techniques are disclosed in U.S. Pat. No. 4,598,381 titled Pressure Compensated Differential Pressure Sensor and Method, owned by the same assignee as this application and incorporated herein by reference. Alternatively, two process variables representative of the same measurand are sent to control unit 22 from different instruments on the same feedback loop, providing redundancy of a critical measurement. In this embodiment, a transmitter 64 senses differential pressure across an orifice 66 in pipe segment 20 and absolute pressure via a pressure inlet 65. A temperature transmitter 68 senses absolute temperature of fluid 2 via a thermocouple 69. Controlling means 52 use process signals 55 representative of differential pressure, absolute pressure and absolute temperature, sent over two wire circuit 18 from transmitters 64 and 68, to adjust command output 58 according to Eq. 2.

A second type of process signal is the setpoint, indicative of a desired process state. In this application an example of a setpoint is a desired flow of 10 liters₃ /minute in pipe segment 20. Typically, process signals 55 representative of a setpoint and representative of process variables are sent to control unit 22. The primary process variable is typically compensated by other process variables sent over circuit 18. Controlling means 52 evaluate the difference between the setpoint and the compensated process variable and adjust command output 58.

Another type of process signal 55 is representative of commands which select between instruction sets stored in control unit 22 for providing command output 58. For example, a shut-down command causes command output 58 to be governed by an instruction set for safely shutting down feedback loop 14. Shut-down commands allow manual intervention of feedback loop 14. Another type of command instructs control unit 22 to adaptively set its own instruction set for operation of controlling means 52. In adaptive control, the instruction set may vary as a function of time. In such mode, control unit 22 calculates its own terms and coefficients, as desired, for operation of controlling means 52. Alternatively, another command may cause control unit 22 to operate in an exceptional mode, where it communicates with supervisory master unit 10 only if process variables exceed specified limits. Exceptional mode operation reduces communications between instruments in tank farm 1 and releases supervisory master unit 10 from continually communicating with feedback loop 14. The resulting decrease in communication overhead frees supervisory master unit 10 to monitor larger numbers of feedback loops and to perform more duties than before.

Process signals representative of instructions sets, in part or whole, are sent to control unit 22 to direct operation of controlling means 52. Partial instruction sets are sent to control unit 22 when a subset of an instruction set is needed to adjust command output 58.

A typical instruction set adjusts command output 58. A general equation for control is given: ##EQU1## where q_(K) is the command output at the Kth time, r_(i) and y_(i) are the setpoint and process variable values at the ith time respectively, i varies from 0 to K, and a_(i) and b_(i) are application specific constants which may be time varying. Many applications require control action which the output is proportional to a substantially linear combination of the input process variable, the time integral of the process variable and the time-rate-of-change of the process variable, sometimes called proportional-integral-derivative (PID) action. The following equations define constants a_(i) and b_(i) from Eq. 3 appropriately for PID control action. The constant a_(i) for the present time and two previous evaluations are defined in Eq. 3.1a-c:

    a.sub.K =K.sub.p +K.sub.I,                                 Eq. 3.1a

where K_(p) and K_(I) are defined as proportional or integral gain constants.

    a.sub.K-1 =-K.sub.p,                                       Eq. 3.1b

    a.sub.K-x =0, where×≧2                        Eq. 3.1c

The constant b_(i) for the present time and two previous evaluations is defined in Eq. 3.2a-c:

    b.sub.K ={R/(1-Q)-K.sub.p -K.sub.I}                        Eq. 3.2a

where

    R=(K.sub.D T.sub.D N)/(T.sub.D +N h),

    Q=T.sub.D /(T.sub.D +N h),

and K_(D) is a derivative gain constant, T_(D) is a derivative time constant, N is a rate limiting constant and h is a measure of the amount of time required to adjust command output 58. Furthermore,

    b.sub.K-1 ={-2R/(1-Q)+K.sub.p                              Eq. 3.2b

    b.sub.K-2 =R/(1-Q)                                         Eq. 3.2c

and all b_(K-x) =0, where x≧3.

Substituting Eq. 3.1a-c and Eq. 3.2a-c into general control Eq. 3 yields a three term PID control Eq. 3.3, which becomes a PI equation when the third term is set to 0:

    Δq.sub.K =ΔP.sub.K +ΔI.sub.K +ΔD.sub.KEq. 3.3

where

    ΔP.sub.K =K.sub.p {E.sub.K -E.sub.K-1 }, ΔI.sub.K =K.sub.I E.sub.K

and

    ΔD.sub.K ={R/(1-Q)}{y.sub.K-2y.sub.K-1 +y.sub.K-2 }

and

E_(K) =r_(K) -y_(K) is the difference between the process variable and the setpoint at time K and represents the error.

The process control application dictates appropriateness of a PI or PID control equation. When proportional gain of an control application is relatively low, varies over a wide span and the controlled variable is slow to change, as is typical in flow and liquid pressure applications, integral control action is necessary, while derivative control action is not. Such control best uses a PI control action. PID control action, on the other hand, is best suited for applications such as temperature control, where proportional gain is low, is confined to a narrow band of values and the controlled variable is slow to change.

Another type of process signal is representative of coefficients for terms of an instruction set already stored in control unit 22. For example, if modifications in pipe network 4 were required, supervisory master unit 10 sends a new value of K_(p), in Eq. 4.1a, to control unit 22.

A final type of process signal is representative of a request for information from control unit 22. This request originates from other control units and from supervisory master unit 10, as desired. Status information such as process control statistics, current modes of operation, process variable values and unit serial numbers may be monitored.

Various types of remote device 26 can be used with control unit 22. As discussed, remote device 26 is an I/P converter receiving command output 58 applying pneumatic air 59 for positioning valve 62 as a function of command output 58. Other process control applications may control absolute pressure, temperature, conductivity, pH, oxygen concentration, chlorine concentration, density, force, turbidity, motion and others. In these applications, remote device 26 may comprise a motor, a valve for a gauge pressure application, a switch and con tact as desired in a temperature controlling application, a relay in a pH or level application or other implementation device.

A second preferred embodiment of control unit 22 is shown in FIG. 3. Control unit 22 as described in FIG. 2, further comprises energy conversion means 80, coupled to controlling means 52 by command output 58 and controlling the process. Such an embodiment of control unit 22 is also called a field actuator. Control unit 22 is connected in a two wire circuit as in the first configuration described above, but can be connected as described in other configurations. Energy conversion means 80 receives a pressurized air 82, commonly available in field 34 through energy conduit 84 and applies such air 82 to position a valve 90 as a function of command output 58. Cabling 57 and remote device 26 (FIG. 2) are not included in this embodiment, and the process is controlled from control unit 22, instead of the remote device 26. Depending on the process control application, energy conversion means 80 uses other types of energy such as hydraulic or electromagnetic energy. The frequency range of electromagnetic energy may range from direct current having substantially zero frequency to light energy at varying frequencies carried on an optical fiber.

A third embodiment of control unit 22 is shown in FIG. 4. The preferred first embodiment of control unit 22 further comprises a sensing device 100 having a sensed output 112 from either a sensing means 102 or a scaling means 104. In this application, flow is given by Eq. 1, requiring only a process variable representative of differential pressure. In sensing device 100, sensing means 102 senses pressure on either side of an orifice 106 protruding into fluid 2. As required, scaling means 104 scales sensed process variables according to user definable constants such as span, zero and damping. Span and zero adjustments allow known pressures to be referenced to the range extremes of sensing means 102 while damping affects the time response of the unit to a process variable input change. Scaling the process variable linearly re-ranges the process variable between two user selectable outputs typically known as "zero" and "span." A "zero" setting is an offset adjustment in that it affects all points of the process variable equally. It indicates that a selected sensor reading is the process zero and should result in a 4 mA loop current. A "span" switch sets the process maximum to 20 mA or full scale value.

The sensed output 112 of sensing means 102 and scaling means 104, as desired, is used in controlling means 52 or coupled directly to cabling 57, as desired. When sensed output 112 is coupled to cabling 57, the signal on cabling 57 is representative of the sensed process variable, as from a transmitter. Transmitters sense process variables and output a signal representative of the sensed process variable. Transmitters are known and disclosed in U.S. Pat. No. 4,833,922 by Frick et al. titled "Modular Transmitter", owned by the same assignee and incorporated herein by reference.

Control unit 22 as shown in FIG. 4 is connected in two wire circuit 18 per the second configuration as discussed above, but may be connected in other configurations. One terminal of remote device 26 is connected via cable 57 to control unit 22 while the other is connected to master supervisor 10 by two wire circuit 18.

The ability of control unit 22 to function as a transmitter or a controller allows use of several types of process signals. Different options are available for process signals representative of process variables.

Process signals 55 representative of a process variable and those representative of a setpoint are sent over two wire circuit 18 and used by controlling means 52 for providing command output 58. Process variables sent to control unit 22 are typically representative of secondary process variables as when Eq. 2 is used to calculate flow and typically compensate the primary process variable sensed by sensing device 100. Alternatively, process signals 55 representative of a redundantly sensed primary process variable are sent via two wire circuit 18 for increased reliability in critical applications. A third command provides for simultaneous execution of the controlling mode and transmitter mode. In such dual mode operation, command output 58 is coupled to cable 57 in an analog fashion and the magnitude of cable 57 current varies as command output 58. Remote device 26 adjusts valve 62 as a function of cable 57 current magnitude. Several communication standards vary current magnitude as a function of the information sent, such as 4-20 mA and 10-50 mA current loop communications standards. Alternatively, the voltage on cable 57 is representative in a voltage magnitude communication standard such as 1-5V. Concurrently, control unit 22 digitally couples sensed process variable 112 to cable 57 in a carrier modulated fashion. For example, signals representative of a command output are encoded by the 4-20 mA standard and signals representative of a process variable are digitally encoded by a carrier modulated format. Typical carrier modulation communication standards which may be used are frequency shift key (FSK), amplitude modulation (AM), phase modulation (PM), frequency modulation (FM), Quadrature Amplitude Modulation (QAM) and Quadrature Phase Shift Key (QPSK). Alternatively, a baseband communication standard such as Manchester is used to encode process variable 112 on two wire cable 57.

Master supervisor 10 monitors process variables while control unit 22 controls the remote device 26 simultaneously, due to the series connection of master supervisor 10, control unit 22 and remote device 26 and because remote device 26 cannot change current on circuit 18 due to its passive nature. Such operation provides cost and efficiency advantages, because the number of two wire circuits needed for process control is reduced from two circuits to one circuit for each feedback loop. Absent such mode, a first two wire circuit communicates a process variable between a transmitter and master supervisor 10 and a second two wire circuit communicates a command output between master supervisor 10 and remote device 26. With such mode, a single two wire circuit connecting master supervisor 10, control unit 22 and remote device 26 in series controls the process. Wiring costs in field areas are expensive, with each feedback loop wiring representing approximately the same investment as a transmitter and a remote device. Secondly, process signals 55 representative of commands sent over two wire circuit 18 select between the two operational modes. This command directs control unit 22 to couple sensed process variable 112 or command output 58 onto cabling 57. Upon such command, the same control unit 22 functions as a transmitter or a controller, respectively. During operation as a controller, a command directing operation on exceptional basis is sent over circuit 18. Exceptional basis operation instructs control unit 22 to communicate with master supervisor 10 only when process variables received or sensed by the unit are not within specific limits. Such commands obviate master supervisory 10 monitoring or intervention in control unit 22 operation, resulting in fewer communications to maintain process control. Another advantage is increased reliability of process control, since cable 12 may be broken without compromising the process in this mode.

Thirdly, process signals 55 representative of varied instruction sets are sent to control unit 22 as appropriate for the process control application discussed above. Diverse functionality in varied applications is achieved. For example, control unit 22 senses differential pressure in a process controlling flow when a first instruction set governs controlling means 52 and senses differential pressure in a process controlling level when a second instruction set governs controlling means 52. Alternatively, control unit 22 provides command output 58 to different types of remote devices 26, changing such command output 58 as a function of process signals 55.

A fourth preferred embodiment of control unit 22 is shown in FIG. 5. Energy conversion means 80, as shown in FIG. 3, is coupled to control unit 22 as described in the third preferred embodiment of control unit 22, and functions as discussed there. Cabling 57 and remote device 26 are eliminated in this embodiment, and the process is controlled from control unit 22. Energy conversion means 80 uses other types of energy such as hydraulic or electromagnetic energy. 

What is claimed is:
 1. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a process signal from the two wire circuit; a process variable sensor which provides a sensed process variable; and control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the sensed process variable and a previous value of the command output.
 2. The control unit of claim 1 wherein the command output comprises a 4-20 mA signal.
 3. The control unit of claim 1 wherein the command output comprises a digital signal.
 4. The control unit of claim 1 wherein the process variable sensor is in the housing.
 5. The control unit of claim 1 wherein the process signal is representative of a redundant process variable.
 6. The control unit of claim 1 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 7. The control unit of claim 1 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 8. The control unit of claim 1 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process variable.
 9. The control unit of claim 1 wherein the process signal is representative of an instruction to direct operation of the control unit.
 10. The control unit of claim 1 wherein the process signal is representative of a coefficient of a term of an instruction set stored in the control unit.
 11. The control unit of claim 1 wherein the process signal is representative of a setpoint and the control circuitry adjusts the command output as a further function of the setpoint and the sensed process variable.
 12. The control unit of claim 1 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 13. The control unit of claim 1 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 14. The control unit of claim 1 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 15. The control unit of claim 1 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 16. The control unit of claim 1 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU2## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 17. The control unit of claim 1 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 18. The control unit of claim 1 wherein the function further comprises a PI function.
 19. The control unit of claim 1 wherein the function further comprises a PD function.
 20. The control unit of claim 1 wherein the function further comprises a PID function.
 21. The control unit of claim 1 including a storage element for storing the previous value of the command output.
 22. The control unit of claim 1 wherein the process signal is representative of a command which selects an instruction set stored in the control unit.
 23. The control unit of claim 22 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 24. The control unit of claim 22 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 25. The control unit of claim 22 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 26. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; and control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint and which is a function of a previous value of the command output.
 27. The control unit of claim 26 wherein the command output comprises a 4-20 mA signal.
 28. The control unit of claim 26 wherein the command output comprises a digital signal.
 29. The control unit of claim 26 wherein the process variable sensor is in the housing.
 30. The control unit of claim 26 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 31. The control unit of claim 26 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 32. The control unit of claim 26 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 33. The control unit of claim 26 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 34. The control unit of claim 26 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 35. The control unit of claim 26 wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 36. The control unit of claim 26 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 37. The control unit of claim 26 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 38. The control unit of claim 26 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 39. The control unit of claim 26 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 40. The control unit of claim 26 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU3## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 41. The control unit of claim 26 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 42. The control unit of claim 26 wherein the function further comprises a PI function.
 43. The control unit of claim 26 wherein the function further comprises a PD function.
 44. The control unit of claim 26 wherein the function further comprises a PID function.
 45. The control unit of claim 26 including a storage element for storing the previous value of the command output.
 46. The control unit of claim 26 wherein the command output is further a function of the sensed process variable.
 47. The control unit of claim 46 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 48. The control unit of claim 26 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 49. The control unit of claim 48 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 50. The control unit of claim 48 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 51. The control unit of claim 48 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 52. A smart field-mounted control unit for coupling to a two wire circuit, comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the two wire circuit for wholly powering the control unit; a process variable sensor which provides a sensed process variable; and control circuitry in the housing operably coupled to the input circuitry and to the process variable sensor, the control circuitry is adapted to provide a command output for a remote device, the command output in a digital format which is a function of the sensed process variable and a previous value of the command output.
 53. The control unit of claim 52 including a storage element for storing a previous value of the command output.
 54. The control unit of claim 52 wherein the control circuitry is adapted to be coupled to the two wire circuit and the command output is adapted to be transmitted on the two wire circuit for the remote device.
 55. The control unit of claim 52 wherein the control circuitry is adapted to be coupled to a second two wire circuit and the command output is adapted to be transmitted on the second two-wire circuit for the remote device.
 56. The control unit of claim 52 wherein the process variable sensor is in the housing.
 57. The control unit of claim 52 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 58. The control unit of claim 52 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 59. The control unit of claim 52 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 60. The control unit of claim 52 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 61. The control unit of claim 52 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit which is representative of a current mode of operation.
 62. The control unit of claim 52 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 63. The control unit of claim 52 wherein the input circuitry is further adapted to receive from the two wire circuit at least one coefficient of a term of an instruction set stored in the control unit.
 64. The control unit of claim 52 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 65. The control unit of claim 52 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU4## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 66. The control unit of claim 52 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 67. The control unit of claim 52 wherein the function further comprises a PI function.
 68. The control unit of claim 52 wherein the function further comprises a PD function.
 69. The control unit of claim 52 wherein the function further comprises a PID function.
 70. The control unit of claim 52 wherein the input circuitry receives a setpoint and the command output is further a function of the setpoint.
 71. The control unit of claim 70 wherein the command output is further a function of a difference between the setpoint and the sensed process variable.
 72. The control unit of claim 52 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 73. The control unit of claim 72 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 74. The control unit of claim 72 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 75. The control unit of claim 72 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a specified limit.
 76. A smart field-mounted control unit for coupling to a two wire circuit for controlling a process control loop, comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry receiving power from the two wire circuit for wholly powering the control unit and the input circuitry adapted to receive a command from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry and to the process variable sensor and including at least one instruction set, wherein the control circuitry selects the instruction set in response to the command for providing a command output for a remote device as a function of the sensed process variable.
 77. The control unit of claim 76 including a storage element for storing the previous value of the command output.
 78. The control unit of claim 76 wherein the control circuitry is adapted to be coupled to the two wire circuit and the command output is adapted to be transmitted on the two wire circuit for the remote device.
 79. The control unit of claim 76 wherein the control circuitry is adapted to be coupled to a second two wire circuit and the command output is adapted to be transmitted on the second two-wire circuit for the remote device.
 80. The control unit of claim 76 wherein the process variable sensor is in the housing.
 81. The control unit of claim 76 wherein the command output comprises a digital signal in a carrier modulated format.
 82. The control unit of claim 76 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 83. The control unit of claim 76 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 84. The control unit of claim 76 wherein the control circuitry is adapted to provide digital signal for the two wire circuit representative of a process control statistic.
 85. The control unit of claim 76 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 86. The control unit of claim 76 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 87. The control unit of claim 76 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 88. The control unit of claim 76 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a specified limit.
 89. The control unit of claim 76 wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 90. The control unit of claim 76 wherein the sensed process variable relates to a flow and the command output is representative of a valve position.
 91. The control unit of claim 76 wherein the command output, q_(k), is generally in accordance with the equation: ##EQU5## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 92. The control unit of claim 76 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 93. The control unit of claim 76 wherein the input circuitry receives a setpoint and the command output is further the function of the setpoint.
 94. The control unit of claim 93 wherein the command output is further a function of a difference between the setpoint and the sensed process variable.
 95. The control unit of claim 76 wherein the command output is further a function of a previous value of the command output.
 96. The control unit of claim 95 wherein the function further comprises a PI function.
 97. The control unit of claim 95 wherein the function further comprises a PD function.
 98. The control unit of claim 95 wherein the function further comprises a PID function.
 99. A smart field-mounted control unit for coupling to a two wire circuit, comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry receiving power from the two wire circuit for wholly powering the control unit and the input circuitry receiving a process signal from the two wire circuit representative of a process variable; and control circuitry in the housing operably coupled to the input circuitry, the control circuitry provides a command output to a remote device, the command output in a digital format which is a function of the process variable and a previous value of the command output.
 100. The control unit of claim 99 wherein the input circuitry is further adapted to receive an instruction from the two wire circuit to direct operation of the control unit.
 101. The control unit of claim 99 wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 102. The control unit of claim 99 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 103. The control unit of claim 99 wherein the control circuitry is adapted to provide a digital signal to the two wire circuit representative of a current mode of operation.
 104. The control unit of claim 99 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU6## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 105. The control unit of claim 99 wherein the function further comprises a PI function.
 106. The control unit of claim 99 wherein the function further comprises a PD function.
 107. The control unit of claim 99 wherein the function further comprises a PID function.
 108. The control unit of claim 99 including a storage element for storing the previous value of the command output.
 109. The control unit of claim 99 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 110. The control unit of claim 109 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 111. The control unit of claim 109 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 112. The control unit of claim 109 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the process variable exceeds a specified limit.
 113. The control unit of claim 99 wherein the input circuitry is further adapted to receive a setpoint from the two wire circuit and the control circuitry adjusts the command output as a further function of the setpoint and the process variable.
 114. The control unit of claim 113 wherein the command output is a further function of a difference between the setpoint and the process variable.
 115. The control unit of claim 113 wherein the process variable is related to flow and the command output is representative of a valve position.
 116. The control unit of claim 113 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 117. A smart field-mounted control unit for coupling to a two wire circuit for controlling a process control loop, comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry receiving power from the two wire circuit for wholly powering the control unit and the input circuitry adapted to receive a command and a process variable from the two wire circuit; and control circuitry in the housing operably coupled to the input circuitry and including at least one instruction set, wherein the control circuitry selects the instruction set in response to the command for providing a command output for a remote device as a function of the process variable.
 118. The control unit of claim 117 wherein the control circuitry is adapted to be coupled to the two wire circuit and the command output is adapted to be transmitted on the two wire circuit for the remote device.
 119. The control unit of claim 117 wherein the control circuitry is adapted to be coupled to a second two wire circuit and the command output is adapted to be transmitted on the second two-wire circuit for the remote device.
 120. The control unit of claim 117 wherein the command output comprises a digital signal in a carrier modulated format.
 121. The control unit of claim 117 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 122. The control unit of claim 117 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 123. The control unit of claim 117 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 124. The control unit of claim 117 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 125. The control unit of claim 117 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 126. The control unit of claim 117 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the process variable exceeds a specified limit.
 127. The control unit of claim 117 wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 128. The control unit of claim 117 wherein the process variable is related to flow and the command output is representative of a valve position.
 129. The control unit of claim 117 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU7## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 130. The control unit of claim 117 wherein the function further comprises a PI function.
 131. The control unit of claim 117 wherein the function further comprises a PD function.
 132. The control unit of claim 117 wherein the function further comprises a PID function.
 133. The control unit of claim 117 wherein the command output is further a function of a previous value of the command output.
 134. The control unit of claim 133 including a storage element for storing the previous value of the command output.
 135. The control unit of claim 117 wherein the input circuitry further receives a setpoint and the command output is further a function of the setpoint.
 136. The control unit of claim 135 wherein the command output is further a function of a difference between the setpoint and the process variable.
 137. A transmitter adapted for use in a conventional process control two wire circuit in which a parameter is represented by a 4-20 mA DC current in the two wire circuit and the transmitter is solely powered by such current, the transmitter comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit for receiving a first signal from the two wire circuit; a process sensor in the housing adapted to couple to a process and sense a process variable to produce a second signal which is representative of the process; and control circuitry in the housing coupled to the input circuitry and the process sensor, the control circuitry adapted to provide a command output for a remote device as a function of the first signal and the second signal, wherein the command output is representative of a control signal which is the parameter.
 138. A transmitter in accordance with claim 137 wherein the first signal is representative of a setpoint and the first signal is superimposed on the 4-20 mA DC current.
 139. A transmitter in accordance with claim 137 wherein the command output is the 4-20 mA DC current.
 140. A transmitter in accordance with claim 139 including a digital signal superimposed on the command output.
 141. A transmitter in accordance with claim 140 wherein the digital signal is representative of the second signal.
 142. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 143. The control unit of claim 142 wherein the command output comprises a 4-20 mA signal.
 144. The control unit of claim 142 wherein the command output comprises a digital signal.
 145. The control unit of claim 142 wherein the process variable sensor is in the housing.
 146. The control unit of claim 142 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 147. The control unit of claim 142 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 148. The control unit of claim 142 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 149. The control unit of claim 142 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 150. The control unit of claim 142 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 151. The control unit of claim 142 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 152. The control unit of claim 142 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 153. The control unit of claim 142 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 154. The control unit of claim 142 wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 155. The control unit of claim 142 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 156. The control unit of claim 142 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 157. The control unit of claim 142 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 158. The control unit of claim 142 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 159. The control unit of claim 142 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU8## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 160. The control unit of claim 142 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 161. The control unit of claim 142 wherein the function further comprises a PI function.
 162. The control unit of claim 142 wherein the function further comprises a PD function.
 163. The control unit of claim 142 wherein the function further comprises a PID function.
 164. The control unit of claim 142 wherein the command output is further a function of the sensed process variable.
 165. The control unit of claim 164 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 166. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the input circuitry is further adapted to receive from the two wire circuit a coefficient of a term of an instruction set stored in the control unit.
 167. The control unit of claim 166 wherein the command output comprises a 4-20 mA signal.
 168. The control unit of claim 166 wherein the command output comprises a digital signal.
 169. The control unit of claim 166 wherein the process variable sensor is in the housing.
 170. The control unit of claim 166 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 171. The control unit of claim 166 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 172. The control unit of claim 166 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 173. The control unit of claim 166 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 174. The control unit of claim 166 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 175. The control unit of claim 166 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 176. The control unit of claim 166 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 177. The control unit of claim 166 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 178. The control unit of claim 166 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 179. The control unit of claim 166 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU9## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 180. The control unit of claim 166 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 181. The control unit of claim 166 wherein the function further comprises a PI function.
 182. The control unit of claim 166 wherein the function further comprises a PD function.
 183. The control unit of claim 166 wherein the function further comprises a PID function.
 184. The control unit of claim 166 wherein the command output is further a function of the sensed process variable.
 185. The control unit of claim 169 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 186. The control unit of claim 166 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 187. The control unit of claim 186 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 188. The control unit of claim 186 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 189. The control unit of claim 186 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 190. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a serial number of the control unit.
 191. The control unit of claim 190 wherein the command output comprises a 4-20 mA signal.
 192. The control unit of claim 190 wherein the command output comprises a digital signal.
 193. The control unit of claim 190 wherein the process variable sensor is in the housing.
 194. The control unit of claim 190 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 195. The control unit of claim 190 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 196. The control unit of claim 190 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 197. The control unit of claim 190 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 198. The control unit of claim 190 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 199. The control unit of claim 190 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 200. The control unit of claim 190 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 201. The control unit of claim 190 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU10## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 202. The control unit of claim 190 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 203. The control unit of claim 190 wherein the function further comprises a PI function.
 204. The control unit of claim 190 wherein the function further comprises a PD function.
 205. The control unit of claim 190 wherein the function further comprises a PID function.
 206. The control unit of claim 190 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 207. The control unit of claim 190 wherein the command output is further a function of the sensed process variable.
 208. The control unit of claim 207 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 209. The control unit of claim 190 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 210. The control unit of claim 209 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 211. The control unit of claim 209 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 212. The control unit of claim 209 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 213. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the function further comprises a PI function.
 214. The control unit of claim 213 wherein the command output comprises a 4-20 mA signal.
 215. The control unit of claim 213 wherein the command output comprises a digital signal.
 216. The control unit of claim 213 wherein the process variable sensor is in the housing.
 217. The control unit of claim 213 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 218. The control unit of claim 213 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 219. The control unit of claim 213 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 220. The control unit of claim 213 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 221. The control unit of claim 213 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 222. The control unit of claim 213 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 223. The control unit of claim 213 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 224. The control unit of claim 213 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 225. The control unit of claim 213 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU11## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 226. The control unit of claim 213 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 227. The control unit of claim 213 wherein the command output is further a function of the sensed process variable.
 228. The control unit of claim 227 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 229. The control unit of claim 213 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 230. The control unit of claim 229 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 231. The control unit of claim 229 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 232. The control unit of claim 229 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 233. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the function further comprises a PD function.
 234. The control unit of claim 233 wherein the command output comprises a 4-20 mA signal.
 235. The control unit of claim 233 wherein the command output comprises a digital signal.
 236. The control unit of claim 233 wherein the process variable sensor is in the housing.
 237. The control unit of claim 233 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 238. The control unit of claim 233 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 239. The control unit of claim 233 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 240. The control unit of claim 233 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 241. The control unit of claim 233 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 242. The control unit of claim 233 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 243. The control unit of claim 233 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 244. The control unit of claim 233 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 245. The control unit of claim 233 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU12## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 246. The control unit of claim 233 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 247. The control unit of claim 233 wherein the command output is further a function of the sensed process variable.
 248. The control unit of claim 247 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 249. The control unit of claim 233 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 250. The control unit of claim 249 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 251. The control unit of claim 249 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 252. The control unit of claim 249 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 253. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; and wherein the function further comprises a PID function.
 254. The control unit of claim 253 wherein the command output comprises a 4-20 mA signal.
 255. The control unit of claim 253 wherein the command output comprises a digital signal.
 256. The control unit of claim 253 wherein the process variable sensor is in the housing.
 257. The control unit of claim 253 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 258. The control unit of claim 253 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 259. The control unit of claim 253 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 260. The control unit of claim 253 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 261. The control unit of claim 253 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 262. The control unit of claim 253 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 263. The control unit of claim 253 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 264. The control unit of claim 253 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 265. The control unit of claim 253 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU13## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 266. The control unit of claim 253 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 267. The control unit of claim 253 wherein the command output is further a function of the sensed process variable.
 268. The control unit of claim 267 wherein the command output is a further function of a difference between the setpoint and the sensed process variable.
 269. The control unit of claim 253 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 270. The control unit of claim 269 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 271. The control unit of claim 269 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 272. The control unit of claim 269 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit.
 273. A smart field-mounted control unit for coupling to a two wire DC current process control circuit which carries a loop current, the two wire circuit electrically connected in series with a power source, a remote device and the control unit, the control unit comprising:a housing; input circuitry in the housing adapted to be operably coupled to the two wire circuit, the input circuitry adapted to receive power from the power source through the two wire circuit which wholly powers the control unit and adapted to receive a setpoint from the two wire circuit; a process variable sensor which provides a sensed process variable; control circuitry in the housing operably coupled to the input circuitry, the process variable sensor, and the two wire circuit whereby the control unit is adapted to be electrically connected in series with the two wire circuit and the control circuitry provides a command output for the two wire circuit as a function of the setpoint; wherein the command output is further a function of a difference between the setpoint and the sensed process variable.
 274. The control unit of claim 273 wherein the command output comprises a 4-20 mA signal.
 275. The control unit of claim 273 wherein the command output comprises a digital signal.
 276. The control unit of claim 273 wherein the process variable sensor is in the housing.
 277. The control unit of claim 273 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit representative of a redundant process variable.
 278. The control unit of claim 273 wherein the control circuitry is adapted to concurrently provide the command output and a digital signal for the two wire circuit.
 279. The control unit of claim 273 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit in a carrier modulated format.
 280. The control unit of claim 273 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of the sensed process variable.
 281. The control unit of claim 273 wherein the input circuitry is further adapted to receive a process signal from the two wire circuit which is representative of an instruction to direct operation of the control unit.
 282. The control unit of claim 273 wherein the sensed process variable is related to flow and the command output is representative of a valve position.
 283. The control unit of claim 273 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a process control statistic.
 284. The control unit of claim 273 wherein the control circuitry is adapted to provide a digital signal for the two wire circuit representative of a current mode of operation.
 285. The control unit of claim 273 wherein the command output, q_(K), is generally in accordance with the equation: ##EQU14## where q_(K) is the command output at the kth time, r_(i) and y_(i) are a setpoint and sensed process variable values at an ith time respectively, i varies from 0 to k and a_(i) and b_(i) are application specific constants which may be time varying.
 286. The control unit of claim 273 including scaling circuitry coupled to the process variable sensor which scales the sensed process variable and provides a scaled process variable to the control circuitry for use in providing the command output.
 287. The control unit of claim 273 wherein the function further comprises a PI function.
 288. The control unit of claim 273 wherein the function further comprises a PD function.
 289. The control unit of claim 273 wherein the function further comprises a PID function.
 290. The control unit of claim 273 wherein the input circuitry is further adapted to receive a command from the two wire circuit which selects an instruction set stored in the control unit.
 291. The control unit of claim 290 wherein the command comprises a shut down command which selects an instruction set for the control circuitry for safely shutting down a process.
 292. The control unit of claim 290 wherein the command instructs the control unit to adaptively set its own instruction set for operation of the control circuitry.
 293. The control unit of claim 290 wherein the command instructs the control unit to enter an exceptional mode and transmit a digital signal if the sensed process variable exceeds a limit. 